/*
 * @Author: 你的名字
 * @Date: 2022-10-12 15:48:23
 * @FilePath: /demo-gather/src/router/index.js
 * @Description: 
 */
import VueRouter from 'vue-router';
import Vue from 'vue';
Vue.use(VueRouter);
import Home from '@/views/Home/HomeIndex.vue'
import ChartTest from '@/views/ChartTest/ChartTest.vue'
import ActionTest from '@/views/ActionTest/ActionTest.vue'
import GaoDeAmap from '@/views/GaoDeAmap/GaoDeAmap'
import DrawerBox from '@/views/DrawerBox/DrawerBox.vue'
const routes = [
    {
        path: '/',
        component: Home
    },
    {
        path: '/home',
        component: Home
    },
    {
        path: '/chart-test',
        component: ChartTest
    },
    {
        path: '/actions-test',
        component: ActionTest
    },
    {
        path: '/map-test',
        component: GaoDeAmap
    },
    {
        path: '/drawer-box',
        component: DrawerBox
    },

]
const router = new VueRouter({
    routes,
    mode: 'history',  //去掉url中的#

});

export default router;